package org.rcloud.io.mapper;

import org.rcloud.io.model.File;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(File record);

    int insertSelective(File record);

    File selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(File record);

    int updateByPrimaryKey(File record);

    List<File> selectAll();

    List<File> selectByNum(String id);

    int updateById(int id);

    int updateFlagAll(String eid);

    int updateFlag(int id);    List<File> selectByFileEndor(File eid);}